package cn.zymall.common.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.*;

import java.io.Serializable;

/**
 * @ClassName MerchantAddress
 * @Description 店铺地址
 * @Author chenmei
 * @Date 2020/8/17 23:22
 * @Version 1.0
 **/
@Data
@EqualsAndHashCode(callSuper = true)
@ToString
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "merchant_address")
public class MerchantAddress extends BaseEntity implements Serializable {
	/**
	 * 店铺地址
	 */
	@TableId(value = "MERCHANT_ADDRESS_ID", type = IdType.AUTO)
	private Integer merchantAddressId;

	/**
	 * 省
	 */
	@TableField(value = "PROVINCE")
	private Integer province;

	/**
	 * 市
	 */
	@TableField(value = "CITY")
	private Integer city;

	/**
	 * 区
	 */
	@TableField(value = "DISTRICT")
	private Integer district;

	/**
	 * 详细地址
	 */
	@TableField(value = "DETAILED_ADDRESS")
	private String detailedAddress;
}
